<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<jsp:useBean id="loginBean" class="mybean.data.Login" scope="session" />
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@ include file="head.txt" %>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body background=image/back.jpg>
<font size=2>
	<div align="center">
		<table border=2>
			<tr>
				<th>登录</th>
			</tr>
			<form action="loginServlet" method="post">
			<tr>
				<td>登录名称:<input type="text" name="logname" ></td>
			</tr>
			<tr>
				<td>输入密码:<input type="password" name="password" ></td>
			</tr>
		</table>
		<input type="submit" name="g" value="提交">
			</form>
	</div>
	<div align="center" >
		登录反馈信息:<jsp:getProperty property="backNews" name="loginBean"/>
		<br>
		登录名称:<jsp:getProperty property="logname" name="loginBean"/>
	</div>
</font>
</body>
</html>